package edu.nuist.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-04-03 20:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_user")
public class User implements Serializable {
	private static final long serialVersionUID = -1L;

	@TableId // 主键字段
	private Long id;

	private String userName;

	private String nickName;

	private String password;

	private String status;

	private String email;

	private String phonenumber;

	private String sex;

	private String avatar;

	private String userType;

	private Long createBy;

	private Date createTime;

	private Date updateTime;

	private Integer delFlag;

}